AddCallBackToTimeBase
Your clock component uses theAddCallBackToTimeBase
function to place a callback event into the list of scheduled callback events. The Movie Toolbox maintains this list.
pascal OSErr AddCallBackToTimeBase (QTCallBack cb);
cb
- Specifies the callback event for the operation. Your clock component obtains this value from the parameters passed to your
ClockCallMeWhen
function (described on page 11-10).DESCRIPTION
Your component should call theAddCallBackToTimeBase
function when yourClockCallMeWhen
function determines that your component can support the callback event (see "Using the Callback Functions," which begins on page 11-8, for more information about theClockCallMeWhen
function).If your component does not call this function, the Movie Toolbox does not notify your component of time, rate, or stop and start changes (via the
ClockRateChanged
andClockTimeChanged
functions, described on page 11-14 and page 11-13, respectively).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help